package com.woniu.liuzhougov.itemAndTask.pojo;

import com.woniu.liuzhougov.authorityControl.pojo.User;

import java.util.Date;
/*
 * @Author Wuyuzhong
 * @Description 督办单
 * @Date 2019/4/19 14:32
 **/
public class Supervision {
    private Integer supervisionId;

    private User supervisionFounder;

    private User supervisionRecender;

    private Item supervisionItem;

    private Date supervisionTime;

    private String supervisionContent;

    private ItemTask itemTask;

    private Integer flag;

    public Integer getSupervisionId() {
        return supervisionId;
    }

    public void setSupervisionId(Integer supervisionId) {
        this.supervisionId = supervisionId;
    }

    public User getSupervisionFounder() {
        return supervisionFounder;
    }

    public void setSupervisionFounder(User supervisionFounder) {
        this.supervisionFounder = supervisionFounder;
    }

    public User getSupervisionRecender() {
        return supervisionRecender;
    }

    public void setSupervisionRecender(User supervisionRecender) {
        this.supervisionRecender = supervisionRecender;
    }

    public Item getSupervisionItem() {
        return supervisionItem;
    }

    public void setSupervisionItem(Item supervisionItem) {
        this.supervisionItem = supervisionItem;
    }

    public Date getSupervisionTime() {
        return supervisionTime;
    }

    public void setSupervisionTime(Date supervisionTime) {
        this.supervisionTime = supervisionTime;
    }

    public String getSupervisionContent() {
        return supervisionContent;
    }

    public void setSupervisionContent(String supervisionContent) {
        this.supervisionContent = supervisionContent;
    }

    public ItemTask getItemTask() {
        return itemTask;
    }

    public void setItemTask(ItemTask itemTask) {
        this.itemTask = itemTask;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Supervision(Integer supervisionId, User supervisionFounder, User supervisionRecender,
                       Item supervisionItem, Date supervisionTime, String supervisionContent, ItemTask itemTask, Integer flag) {
        this.supervisionId = supervisionId;
        this.supervisionFounder = supervisionFounder;
        this.supervisionRecender = supervisionRecender;
        this.supervisionItem = supervisionItem;
        this.supervisionTime = supervisionTime;
        this.supervisionContent = supervisionContent;
        this.itemTask = itemTask;
        this.flag = flag;
    }

    public Supervision() {
    }

    @Override
    public String toString() {
        return "Supervision{" +
                "supervisionId=" + supervisionId +
                ", supervisionFounder=" + supervisionFounder +
                ", supervisionRecender=" + supervisionRecender +
                ", supervisionItem=" + supervisionItem +
                ", supervisionTime=" + supervisionTime +
                ", supervisionContent='" + supervisionContent + '\'' +
                ", itemTask=" + itemTask +
                ", flag=" + flag +
                '}';
    }
}